package com.ssm.blog.service;


import com.ssm.blog.pojo.AdminUser;
import com.ssm.blog.pojo.Menu;
import com.ssm.blog.pojo.TreeNode;

import java.util.List;

public interface MenuService {

    List<TreeNode> getUserMenu(AdminUser user);

    List<TreeNode> getAllMenu();

    void addMenu(Menu menu);

    void updateMenu(Menu menu);

    void deleteMenu(Integer[] ids);

}
